//
//  WSTableViewManager.h
//  Component
//
//  Created by 王诗文 on 2018/7/26.
//  Copyright © 2018年 王诗文. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "WSListCommon.h"
@class WSModule;
@class WSListPlaceHolderView;

@interface WSTableViewManager : NSObject<UITableViewDelegate,UITableViewDataSource,UIScrollViewDelegate>

@property(nonatomic, strong) NSArray <WSModule *>*modules;
@property(nonatomic,   weak) UITableView *tableView;
@property(nonatomic, assign) WSListStatus listStatus;
@property(nonatomic, strong) WSListPlaceHolderView *holderView; //可自定义
@property(nonatomic, strong) id attachObj; //自定义传输参数

@property(nonatomic, copy) WSPlaceHolderBlock placeHolderBlock;
@property(nonatomic, copy) WSCellClickedBlock cellClickedBlock;
@property(nonatomic, copy) WSCellSubViewsClickedBlock cellsubViewsClickedBlock;
@property(nonatomic, copy) WSHeaderClickedBlock headerClickedBlock;
@property(nonatomic, copy) WSFooterClickedBlock footerClickedBlock;
@property(nonatomic, copy) WSScrollViewDidScrollBlock scrollViewDidScrollBlock;

@end
